LEADTOOLS (Leadtools assembly)
LEAD Technologies, Inc

Convert16(Byte[],Int32,Byte[],Int32,Int32,RasterColorSpaceFormat16,RasterColorSpaceFormat16) Method






An array of bytes containing the source image data
Zero-based index into inBuffer
An array of bytes to be filled with the converted image data
Zero-based index into outBuffer
Image width, in pixels
The format of the input data
The desired format of the converted data
Converts 16-bit image data from one color space to another. .NET support Silverlight support
Syntax
public static void Convert16( 
   byte[] inBuffer,
   int inBufferOffset,
   byte[] outBuffer,
   int outBufferOffset,
   int width,
   RasterColorSpaceFormat16 inFormat,
   RasterColorSpaceFormat16 outFormat
)
'Declaration
 
Public Overloads Shared Sub Convert16( _
   ByVal inBuffer() As Byte, _
   ByVal inBufferOffset As Integer, _
   ByVal outBuffer() As Byte, _
   ByVal outBufferOffset As Integer, _
   ByVal width As Integer, _
   ByVal inFormat As RasterColorSpaceFormat16, _
   ByVal outFormat As RasterColorSpaceFormat16 _
) 
'Usage
 
Dim inBuffer() As Byte
Dim inBufferOffset As Integer
Dim outBuffer() As Byte
Dim outBufferOffset As Integer
Dim width As Integer
Dim inFormat As RasterColorSpaceFormat16
Dim outFormat As RasterColorSpaceFormat16
 
RasterColorSpace.Convert16(inBuffer, inBufferOffset, outBuffer, outBufferOffset, width, inFormat, outFormat)
public static void Convert16( 
   byte[] inBuffer,
   int inBufferOffset,
   byte[] outBuffer,
   int outBufferOffset,
   int width,
   RasterColorSpaceFormat16 inFormat,
   RasterColorSpaceFormat16 outFormat
)
 function Leadtools.RasterColorSpace.Convert16(Byte[],Int32,Byte[],Int32,Int32,RasterColorSpaceFormat16,RasterColorSpaceFormat16)( 
   inBuffer ,
   inBufferOffset ,
   outBuffer ,
   outBufferOffset ,
   width ,
   inFormat ,
   outFormat 
)

Parameters

inBuffer
An array of bytes containing the source image data
inBufferOffset
Zero-based index into inBuffer
outBuffer
An array of bytes to be filled with the converted image data
outBufferOffset
Zero-based index into outBuffer
width
Image width, in pixels
inFormat
The format of the input data
outFormat
The desired format of the converted data
Example
For an example, refer to RasterColorSpace.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

RasterColorSpace Class
RasterColorSpace Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.